﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using VitaminK.Wcf;

namespace Secure.Service
{
    [ServiceBehavior(Namespace = "http://illogikal.net/"), WcfContext]
    public class GatewayService : IGatewayService
    {
        public string GetSecurityToken(string applicationId, string applicationKey)
        {
            return "abcdefgh";
        }

        public bool IsAllowedAccess(string token, string loginId, string resourcePath, out string[] additionalParameters)
        {
            additionalParameters = new string[0];
            return true;
        }
    }
}
